<header id="header" >
    <div class="navbar navbar-inverse  navbar-default navbar-fixed-top" role="banner" style="margin-top: 10px;">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>

                <a class="navbar-brand" href="/">
                    <h1><img src="/web/images/logo_1.png" alt="logo"></h1>
                </a>

            </div>
            <div class="collapse navbar-collapse">
                <ul class="nav navbar-nav navbar-right">
                    <li class="active"><a href="/">首页</a></li>
                    <li ><a href="{{ url('/one') }}">“一个”分享</a></li>
                    <li><a href="{{ url('/post') }}">美文阅读</a></li>
                    <li><a href="{{ url('/travel') }}">带队记录</a></li>
                    <li><a href="{{ url('/movie') }}">电影杂谈</a></li>
                    <li><a href="{{ url('/note') }}">技术知识</a></li>
                    <li><a href="{{ url('/resume') }}">个人简历</a></li>
                    @if(empty(\Auth::user('web')->name))
                        <li><a href="{{ url('/login') }}" style="color: #3399ff;">未登录</a></li>
                        @else
                        <li class="dropdown">
                            <a href="javascript:void 0;" style="color: #3399ff;">{{\Auth::user('web')->name}}<i class="fa fa-angle-down"></i></a>
                            <ul role="menu" class="sub-menu" style="width: 200px;">
                                <li><a href="{{ url('/logout') }}">登出</a></li>
                            </ul>
                        </li>
                    @endif

                </ul>
            </div>
            <div class="search">
                <form role="form">
                    <i class="fa fa-search"></i>
                    <div class="field-toggle">
                        <input type="text" class="search-form" autocomplete="off" placeholder="Search">
                    </div>
                </form>
            </div>
        </div>
    </div>
</header>
<!--/#header-->
